Push

data class Push(val animated: Boolean = true, val push: () -> <Error class: unknown class>, val completion: () -> Unit? = null) : NavigationSpec

Navigates to a new view controller by pushing it on top of the parents UINavigationController

Parameters

animated

Specifies whether transition should be animated

push

Function to create the UIViewController to push

completion

Optional function to call when push has completed

Constructors

Link copied to clipboard
constructor(animated: Boolean = true, push: () -> <Error class: unknown class>, completion: () -> Unit? = null)

Properties

Link copied to clipboard
val animated: Boolean = true
Link copied to clipboard
val completion: () -> Unit? = null
Link copied to clipboard
val push: () -> <Error class: unknown class>